package com.bbzn.device.client.service.emq;

import com.alibaba.fastjson.JSONObject;
import com.bbzn.device.client.dto.ct.request.RequestCreateCommand;
import com.ctg.ag.sdk.biz.aep_device_command.CreateCommandResponse;

/**
 * 指令下发
 *
 * @Author wulongbo
 * @Date 2021/9/11 11:02
 * @Version 1.0
 */

public interface OrderSendService extends OrderSendBaseService {

    /**
     * 统一合并指令下发
     *
     * @param masterKey
     * @param requestCreateCommand 必须包含： deviceId-设备ID ，operator-操作者 ， productId-产品ID
     * @return
     * @throws Exception
     */
    CreateCommandResponse createCommand(String imei, String masterKey, RequestCreateCommand requestCreateCommand, String content) throws Exception;

}
